﻿using System;

namespace EmailJabber.Logic
{
    public class MessageIM:EventArgs
    {
        public MessageIM(string from, string body,string to)
        {
            From = from;
            Body = body;
            To = to;
        }

        public string From { get; set; }
        public string Body { get; set; }
        public string To { get; set; }
        public object ExtraParameter {get;set;}
        
        public static MessageIM GetReply(string messageBody,MessageIM messageForReply)
        {
        	return new MessageIM(messageForReply.To,messageBody,messageForReply.From);
        }
    }
}
